home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / GAF200B.ZIP / GAF.HLP < prev    next >
Text File  |  1994-10-29  |  52KB  |  1,528 lines

  1. @Running Modes
  2.    There are five running modes provided by GAF:
  3.    control, monitor, check segment, simulation, and
  4.    adapt.  Note that control and monitor modes are
  5.    not supported for current release.
  6.  
  7.    Control Mode
  8.        The control mode provides users for online
  9.        control and limited user interfaces for
  10.        interacting with the real control environment
  11.        and fuzzy rule segments.  The output of all
  12.        segments are routed through output
  13.        channels, and the inputs are brought in
  14.        through the input channels.
  15.  
  16.    Monitor Mode
  17.        The monitor mode provides users for online
  18.        monitoring and analyzing the real control
  19.        environment and fuzzy rules.  The output of
  20.        all segments are for display only, they are
  21.        NOT routed through output channels, but the
  22.        inputs are brought in through the input
  23.        channels.
  24.  
  25.    Check Segment
  26.        This feature allows user to examine one
  27.        segment at a time.  Combined with other
  28.        segment functions, such as preset and modify
  29.        variables, user can check the response of
  30.        the selected segment with fixed (constant) or
  31.        manual values for inputs and local variables.
  32.  
  33.    Simulation Mode
  34.        The simulation mode offers user to simulate
  35.        the system with feedback or emulation
  36.        segment(s) for integration test.  The
  37.        emulation can be user defined segment(s) or
  38.        user provided data set with EMUL_SEGMENT or
  39.        FEEDBACK keyword.  The simulation
  40.        environment allows user to tune up and debug
  41.        control system with features such as single
  42.        step and others.  Please refer to Emulation
  43.        section for more details about feedback
  44.        segments.
  45.  
  46.    Adapt mode
  47.        The adapt mode provides an offline
  48.        adaptation of the fuzzy control system.  An
  49.        evaluation segment and its corresponding
  50.        evaluation result score (an output variable)
  51.        must be specified.  When adapt mode is
  52.        selected, GAF automatically optimizes the
  53.        control segment by adjusting/adding/deleting
  54.        rules and adjusting fuzzy membership sets. 
  55.        Please refer to the Adaptation section for
  56.        more details of genetic-adaptation and also
  57.        refer to FCL.DOC for defining an evaluation
  58.        segment.
  59.  
  60. 1: Running Modes
  61. 2: Schedule Policy
  62. 3: Emulation
  63. 4: GAF Adaptation
  64. 5: System Menu
  65. 6: GAF Windows
  66. 7: File Menu
  67. 8: Run Menu
  68. 9: Option Menu
  69. A: Segment Menu
  70. B: Display Menu
  71. C: Adapt Menu
  72. D: Method Menu
  73. E: Function Keys
  74. F: Command Syntax
  75. G: Configuration
  76. H: GAF demonstrations
  77.  
  78. @Schedule Policy
  79.        There are four different time modes: real
  80.        time mode, simulated time mode, sim-schedule
  81.        mode, and 24 hours clock mode.  The real time
  82.        mode uses actual system clock (computer
  83.        clock) for scheduling the segments.  This mode
  84.        is the only allowed mode for running in the
  85.        control mode.  The following is an example of
  86.        how real time mode schedules a three
  87.        segments system with 0.1, 0.2, and 0.3 cycle
  88.        time.  Assume that each segment takes 0.05
  89.        second to run, and all three segments are
  90.        enabled all the time.  GAF scheduling table
  91.        will be:
  92.            Sweep #    Time       Seg 1  Seg 2  
  93. Seg 3
  94.            --------   --------   --------   --
  95. ------ --------
  96.               1   0.00       Run    Run     
  97. Run
  98.               2   0.15       Run    ---     --
  99. -
  100.               3   0.20       ---    Run     --
  101. -
  102.               4   0.25       Run    ---     --
  103. -
  104.               5   0.30       ---    ---     
  105. Run
  106.  
  107.        Instead of using real system time, the
  108.        simulated time mode uses fixed time interval
  109.        to simulate the schedule rate for the
  110.        system.  For example if the user specifies
  111.        schedule interval is 0.1 second.  Then the
  112.        above scheduling table will be:
  113.            Sweep #    Time   Seg 1  Seg 2   Seg 3
  114.            --------   --------   --------   --
  115. ------ --------
  116.               1   0.0    Run     Run        Run
  117.               2   0.1    Run     ---        ---
  118.               3   0.2    Run     Run        ---
  119.               4   0.3    Run     ---        Run
  120.               5   0.4    Run     Run        ---
  121.  
  122.        The sim-schedule mode resembles the
  123.        simulated time mode, except that it does not
  124.        use the cycle time of each segment for
  125.        scheduling.  Instead the sim-schedule mode
  126.        uses the schedule rate for all segments, i.e.
  127.        runs all segments all the time.  Therefor, the
  128.        scheduling table will be:
  129.            Sweep #    Time   Seg 1  Seg 2   Seg 3
  130.            --------   --------   --------   --
  131. ------ --------
  132.               1   0.0    Run     Run        Run
  133.               2   0.1    Run     Run        Run
  134.               3   0.2    Run     Run        Run
  135.               4   0.3    Run     Run        Run
  136.               5   0.4    Run     Run        Run
  137.  
  138.        The simulated clock mode is a variation of
  139.        sim-schedule mode.  This mode allows user to
  140.        simulate 24 hours clock within a single plot
  141.        frame.
  142.  
  143.  
  144. 1: Running Modes
  145. 2: Schedule Policy
  146. 3: Emulation
  147. 4: GAF Adaptation
  148. 5: System Menu
  149. 6: GAF Windows
  150. 7: File Menu
  151. 8: Run Menu
  152. 9: Option Menu
  153. A: Segment Menu
  154. B: Display Menu
  155. C: Adapt Menu
  156. D: Method Menu
  157. E: Function Keys
  158. F: Command Syntax
  159. G: Configuration
  160. H: GAF demonstrations
  161.  
  162. @Emulation
  163.    An emulation segment is just like a control
  164.    segment with EMUL_SEGMENT or FEEDBACK keyword
  165.    instead of SEGMENT.  You can define the feedback
  166.    segment with fuzzy rules, math formulas, or data
  167.    tables.  Multiple feedback segments are allowed. 
  168.    In simulation mode GAF automatically closes the
  169.    control and feedback loop with the same variable
  170.    names.  For example, if there is an input variable
  171.    "POS_ERR" defined in the control segment, and it
  172.    is also declared as an output in the feedback
  173.    segment.  Then GAF automatically uses the output
  174.    value from the feedback segment as the input
  175.    value of the control segment.  On initialization,
  176.    GAF searches through all segments to find
  177.    matches among regular (control) and feedback
  178.    segments.  Please refer to Fuzzy Control
  179.    Language (FCL) guide for constructing a GAF
  180.    segment.
  181.  
  182.    GAF supports two kinds of feedback modules.  The
  183.    first one is using user data, from field measured
  184.    data or generated from higher level model.  The
  185.    other choice is to use user defined feedback
  186.    segment.
  187.  
  188.    To use user data as feedback, user simply put
  189.    data in a text file with spread sheet like format,
  190.    i.e., one column per variable, with different
  191.    variables in a row.  The data set must be an
  192.    evenly distributed complete data set with both
  193.    input and output variables declared as a normal
  194.    segment.  GAF only has limited capability to
  195.    handle non-evenly distributed data set.  The
  196.    output variables defined in this file will be
  197.    treated as output of a feedback segment.
  198.  
  199.    Alternatively, user can use the combination of
  200.    fuzzy rules and math processing (pre and post
  201.    processing) to build an emulation segment to
  202.    close the feedback loop in order to simulate the
  203.    system.
  204.  
  205.    One of the important features in GAF is that you
  206.    can tune your system by trying different
  207.    schedule rate (or cycle time defined in each
  208.    segment).  There are different time modes offered
  209.    by simulation mode and check mode.  These time
  210.    modes are: real time mode, simulated time mode,
  211.    sim-schedule mode, and 24 hours clock mode. 
  212.    Please refer to the Schedule Policy section for
  213.    details about these time modes.
  214.  
  215.  
  216. 1: Running Modes
  217. 2: Schedule Policy
  218. 3: Emulation
  219. 4: GAF Adaptation
  220. 5: System Menu
  221. 6: GAF Windows
  222. 7: File Menu
  223. 8: Run Menu
  224. 9: Option Menu
  225. A: Segment Menu
  226. B: Display Menu
  227. C: Adapt Menu
  228. D: Method Menu
  229. E: Function Keys
  230. F: Command Syntax
  231. G: Configuration
  232. H: GAF demonstrations
  233.  
  234. @GAF Adaptation
  235.    While fuzzy logic mimics the human's imprecise
  236.    reasoning, the genetic algorithm mimics the
  237.    evolution of the nature.  The genetic algorithm
  238.    uses randomization techniques to reach local
  239.    optimum without exhausting searching through the
  240.    solution state space.  With randomization, genetic
  241.    algorithm is also capable of escaping from local
  242.    optimum and hopping into a new better state.  GAF
  243.    uses genetic algorithm to derive proper rules and
  244.    fuzzy sets from the initial rules.  By changing,
  245.    adding, deleting rules and fuzzy membership sets
  246.    of the fuzzy system, the genetic algorithm
  247.    automatically adapts and optimizes the fuzzy
  248.    control system.
  249.  
  250.    Besides the feedback segment, the adapt mode
  251.    also needs an evaluation segment for evaluating
  252.    the result of adaptation.  With current release,
  253.    user must build an evaluation segment and specify
  254.    the result variable of  evaluation.  A canned
  255.    evaluation will be supported in future release.
  256.  
  257.    Basics for Adaptation
  258.        The basic concept of genetic-adaptation
  259.        process is that GAF produces a new segment
  260.        (by mutation or crossover from existing
  261.        segment(s)) and then evaluates the new
  262.        segment and compares its result against old
  263.        ones (saved in the population pool).  If a
  264.        better result is obtained, the new segment is
  265.        inserted into the population pool and the
  266.        worst one in the pool will be removed.
  267.  
  268.        After starting adapt, GAF evaluates the
  269.        selected adapt segment and saves it on the
  270.        top of the population pool.  The pool can save
  271.        up to one hundred best generations in the
  272.        order of their performance -- the evaluation
  273.        result.   GAF then repeats the genetic-
  274.        adaptation process -- creation, evaluation,
  275.        and judging the result, until reaches a pre-
  276.        specified maximum iteration or quit from the
  277.        user.
  278.  
  279.    Reproduction from Elites
  280.        One of the concept in genetic algorithm is
  281.        that the fittest gets the highest chances to
  282.        produce its off-springs, so it has the best
  283.        chance to preserve its better genes.
  284.  
  285.        GAF uses weighed random to select one or two
  286.        segments out of the population pool to
  287.        reproduce a "next generation" based on one
  288.        of the methods described under Adaptation
  289.        Method.  So, the fittest generation, which has
  290.        the best evaluation result, has the highest
  291.        weight in the weighed random selection.
  292.  
  293.    Evaluation Criteria
  294.        The evaluation process for genetic-adapt is
  295.        defined as follow.  GAF runs through all
  296.        preset cycles, which are preset conditions
  297.        defined in evaluation and other segments. 
  298.        After each cycle the result score from the
  299.        evaluation segment (see Evaluation under
  300.        Option menu for defining result variable) is
  301.        compared to the minimum score.  If it is below
  302.        the minimum and the population pool has been
  303.        filled up, GAF stops further evaluation and
  304.        delete this new generation.  Otherwise GAF
  305.        keeps evaluation through all preset cycles. 
  306.        The overall evaluation result will be the
  307.        average score of all the preset cycles.
  308.  
  309.        User can specify the test time for preset
  310.        test cycle and number of samples should be
  311.        taken for evaluation.  The test time is used
  312.        to run each preset test, then GAF samples
  313.        the score result for the specified number of
  314.        times.  The preset evaluation result will be
  315.        the average of all samples, and the final
  316.        result will be the average of all preset
  317.        cycles.  For example, if the test time is two
  318.        seconds and the number of samples is 4 (with
  319.        0.1 sample rate), the total time for a preset
  320.        cycle will be 2.3 seconds.
  321.  
  322.    Adaptation Method
  323.        GAF uses weighed random to select one of the
  324.        genetic algorithms for creating next
  325.        generation.  GAF allows user to change all
  326.        predefined methods used by GAF.  Followings
  327.        are brief descriptions of these methods.
  328.  
  329.        Change rules
  330.            The change rules method adapts the
  331.            existing rules, i.e., modify existing rules
  332.            with mutation and other algorithms.  No
  333.            new rule  will be added and no rule will be
  334.            disabled.
  335.  
  336.        Adjust input set
  337.            The adjust input set method alters the
  338.            fuzzy membership sets defined in the
  339.            segment.  The following algorithms are
  340.            used to modify the membership set.
  341.  
  342.            Mutate
  343.               The mutate method randomly change
  344.               one or two "cell" in the membership
  345.               set.
  346.  
  347.            Crossover
  348.               The crossover method uses two
  349.               parent genes (two generations from
  350.               the gene pool) to generate next
  351.               generation by inheriting cells from
  352.               either parent.
  353.  
  354.            Intensify/dilute
  355.               The intensify method intensifies the
  356.               membership set, the dilute method
  357.               dilutes the membership set.
  358.  
  359.            Broaden/restrict
  360.               This method either broaden or
  361.               restrict the fuzzy membership set.
  362.  
  363.            Shift fuzzy set
  364.               The shift method shifts the
  365.               membership set along the value
  366.               without changing its shape.
  367.  
  368.            Change truth
  369.               This method alters the truth value
  370.               of the selected fuzzy membership
  371.               set.
  372.  
  373.        Adding new rule
  374.            This method creates new generation by
  375.            adding new rule to the segment.  The new
  376.            rule is created with the same way as
  377.            described in change rule.
  378.  
  379.        Enable and disable rule
  380.            This method disable (or enable) rule to
  381.            form a new segment.
  382.  
  383.        Alter cycle time
  384.            This method creates new generation by
  385.            modifying the cycle time of the old
  386.            segment.  The range of cycle time can be
  387.            specified with max and min under adapt
  388.            menu.
  389.  
  390.        Alter output gain
  391.            This method adjusts the output gain to
  392.            form a new generation.
  393.  
  394.  
  395.  
  396. 1: Running Modes
  397. 2: Schedule Policy
  398. 3: Emulation
  399. 4: GAF Adaptation
  400. 5: System Menu
  401. 6: GAF Windows
  402. 7: File Menu
  403. 8: Run Menu
  404. 9: Option Menu
  405. A: Segment Menu
  406. B: Display Menu
  407. C: Adapt Menu
  408. D: Method Menu
  409. E: Function Keys
  410. F: Command Syntax
  411. G: Configuration
  412. H: GAF demonstrations
  413.  
  414. @System Menu
  415.    The GAF system menu bar, at the top of the
  416.    screen, is the primary user interface to the
  417.    system.  The system menu bar contains following
  418.    menu items: File, Run, Display, Option, Adapt,
  419.    Method, Segment, and Help.  Use the first
  420.    character of each menu item or use cursor keys
  421.    (right/left arrows) to select the menu item.  When
  422.    a menu item is selected a pull down menu appears
  423.    to provide function selection.  To select a
  424.    function item in a pull down menu either by the
  425.    character on the left of that item or move the
  426.    cursor with up/down arrow keys and then "Enter". 
  427.    When a function item is selected, further
  428.    secondary menu selection or data entry dialog
  429.    may be provided by that function.  Except rule
  430.    selection, all secondary menus and data entry
  431.    dialogues are displayed immediately beneath the
  432.    current pull down menu.  GAF uses rule text window
  433.    for rule selection.  Press ESC in pull down menu
  434.    will return to system menu (the menu bar).  Press
  435.    ESC under system menu will bring up the Run menu,
  436.    except when the system menu was ESCaped from
  437.    any of the running mode (i.e. from adapting or
  438.    simulation).  Before discussing each menu item in
  439.    detail, the screen windows are explained for
  440.    clarification.
  441.  
  442.  
  443. 1: Running Modes
  444. 2: Schedule Policy
  445. 3: Emulation
  446. 4: GAF Adaptation
  447. 5: System Menu
  448. 6: GAF Windows
  449. 7: File Menu
  450. 8: Run Menu
  451. 9: Option Menu
  452. A: Segment Menu
  453. B: Display Menu
  454. C: Adapt Menu
  455. D: Method Menu
  456. E: Function Keys
  457. F: Command Syntax
  458. G: Configuration
  459. H: GAF demonstrations
  460.  
  461. @GAF Windows
  462.    There are five types of system windows and four
  463.    types of display windows.  The system windows
  464.    are: menu window, hint window, adapt status
  465.    window, segment title window, and segment display
  466.    window.  The segment display window contains four
  467.    sub-windows: rule text window (text window), trend
  468.    plot window (plot window), combined result window
  469.    (result window), and fuzzy rule firing window
  470.    (firing window).
  471.  
  472.    Menu Window
  473.        The menu window is at the top of the screen
  474.        occupied by the system menu bar as described
  475.        above.  In any of the run mode, the menu
  476.        window is closed; use ESC or F10 to get back
  477.        to system menu.
  478.  
  479.    Hint Window
  480.        The hint window is at the bottom of the
  481.        screen to provide user hints (available keys
  482.        or functions) to the user.  Note that in run
  483.        modes the hint window also displays the
  484.        current schedule rate.
  485.  
  486.    Segment Title Window
  487.        The segment title window (title window) shows
  488.        the information for the selected segment,
  489.        see Segment section for selecting a segment. 
  490.        The title window is located immediately above
  491.        segment display window.
  492.  
  493.    Adapt Status Window
  494.        The adapt status window (adapt window) shows
  495.        the status of genetic adaptation.  Adapt
  496.        window only exists under genetic adapting
  497.        mode, it is immediately above the title
  498.        window.
  499.  
  500.    Segment Display Window
  501.        The segment display window (display window)
  502.        displays important status and information of
  503.        the selected segment.  The display window
  504.        occupies the most part of the screen
  505.        immediately above the hint window.  There are
  506.        four types of sub-windows inside display
  507.        window for showing fuzzy rules and running
  508.        status: rule text window (text window), trend
  509.        plot window (plot window), combined result
  510.        window (result window), and fuzzy rule firing
  511.        window (firing window).  The place and area of
  512.        these sub-windows can be rearranged by the
  513.        user, please see Display menu section for
  514.        rearranging display windows.
  515.  
  516.    Text Window
  517.        The text window shows the rules and status
  518.        of the rules for current selected segment. 
  519.        Each rule is presented in a row with several
  520.        columns associated with it.  The first column
  521.        indicates whether the rule is disabled
  522.        (marked with 'x') or fired (marked with '*').  The
  523.        second column shows the rule number.  The
  524.        rest of columns display the content of the
  525.        rule, i.e., the fuzzy membership set symbol
  526.        for corresponding inputs and outputs.  These
  527.        content columns are presented, in different
  528.        color, with inputs first then the outputs as
  529.        the same sequence shown in the title window
  530.        above it.  If local variables are selected
  531.        (see Display section) the local variables are
  532.        displayed after input variables.  In run
  533.        modes, use cursor keys to scroll up, down,
  534.        right, and left for undisplayed contents.
  535.    
  536.    Trend Plot Window
  537.        The plot window draws the trend graph for all
  538.        inputs, outputs, and selected local variables
  539.        with time in x-axis and value in y-axis.  Each
  540.        variable has its own sub-window, started
  541.        from top to bottom, with the same sequence
  542.        and color as in the text window.  See sub-
  543.        section "Set Plot Time Frame" under Display
  544.        for changing the frame duration.
  545.  
  546.    Combined Result Window
  547.        The result window depicts the result for
  548.        selected output of the segment.  The
  549.        trapezoid result of all fired rules, which
  550.        generate non-zero output, are in the upper
  551.        portion of the window .  In the lower portion
  552.        of the window the defuzzified result
  553.        (combined result) and the output value are
  554.        displayed.  Multiple outputs can be selected
  555.        with split display area.  See sections
  556.        Segment and Display for selecting output and
  557.        arranging display window.
  558.  
  559.    Rule Firing Window
  560.        The firing window shows the fuzzy inference
  561.        status (firing condition) of selected rules. 
  562.        This feature along with the stepping mode,
  563.        under simulation or check segment, is the
  564.        best way to tuneup or debug the control
  565.        system.  You'll find the selected rule's fuzzy
  566.        sets are displayed to the left of the
  567.        combined result.  The corresponding input
  568.        value for each set is plotted vertically in
  569.        the same window.  Note that each fuzzy set
  570.        input has the same color as in the text
  571.        window.  Refer to Display section for
  572.        arranging display window, and Segment
  573.        section for selecting rules.
  574.  
  575. 1: Running Modes
  576. 2: Schedule Policy
  577. 3: Emulation
  578. 4: GAF Adaptation
  579. 5: System Menu
  580. 6: GAF Windows
  581. 7: File Menu
  582. 8: Run Menu
  583. 9: Option Menu
  584. A: Segment Menu
  585. B: Display Menu
  586. C: Adapt Menu
  587. D: Method Menu
  588. E: Function Keys
  589. F: Command Syntax
  590. G: Configuration
  591. H: GAF demonstrations
  592.  
  593. @File Menu
  594.    The File menu provides the following functions:
  595.  
  596.    Q: Quit
  597.        Select 'Q' or use ALT-Q to exit the program.
  598.  
  599.    O: Open segment
  600.        Select this option to open a segment from the
  601.        specified file, GAF will prompt for the name of
  602.        the file.  If the default directory is
  603.        specified  (command switch /DIR) and the
  604.        entered file name does not contain path, the
  605.        default directory will be searched for the
  606.        specified file name.  The segment file can
  607.        also be specified as the command arguments. 
  608.        When open a new file segment a sequence
  609.        number will be assigned to that segment as
  610.        its segment ID.  The segment ID  is used for
  611.        displaying segment title.
  612.  
  613.    C: Close segment
  614.        Use to close a segment.  When selected, GAF
  615.        pops secondary menu for a list of all
  616.        segments for user to select appropriate
  617.        segment to close.  Note that a closed segment
  618.        will be marked as "disabled" for current
  619.        release, i.e., the memory will not be released.
  620.  
  621.    B: Report selected best list
  622.    A: Report all items in list
  623.    R: Report file
  624.        These options allow user to generate report
  625.        about the item(s) in the best list (population
  626.        pool).  Use 'R' to set the file name of the
  627.        report, GAF prompts for the file name.  Use 'A'
  628.        to report all items in the list, and use 'B' to
  629.        select one out of the best list.  When 'B' is
  630.        selected, GAF will prompt for the item number
  631.        to be reported on.  The item number must be
  632.        between 0 and less than the current
  633.        population in the pool.
  634.  
  635.    L: Enable adapt log
  636.    D: Enable detail log
  637.    G: Log file to
  638.        In adapt mode, GAF can generate a log file for
  639.        user to review.  Use 'L' to enable (disable)
  640.        the log, use 'D' to switch on (off) detail log. 
  641.        Use 'G' to specify the log file name.
  642.  
  643.    E: Enable plot data
  644.    P: Plot data to
  645.        When enabled, GAF generates a data file for
  646.        the result of each iteration.  The data file
  647.        can be used by MyPlot to plot.  The 'P' option
  648.        specifies the file name of the data file.
  649.  
  650.    S: Generate statistic log
  651.    T: Statistic to
  652.        These options allow user to generate
  653.        statistic report about the adaptation.  Use
  654.        'T' to set the file name of the statistic log. 
  655.        The log includes statistics for all methods. 
  656.        Based on the statistics you may want to
  657.        adjust the weight of the adapt methods.
  658.  
  659.  
  660. 1: Running Modes
  661. 2: Schedule Policy
  662. 3: Emulation
  663. 4: GAF Adaptation
  664. 5: System Menu
  665. 6: GAF Windows
  666. 7: File Menu
  667. 8: Run Menu
  668. 9: Option Menu
  669. A: Segment Menu
  670. B: Display Menu
  671. C: Adapt Menu
  672. D: Method Menu
  673. E: Function Keys
  674. F: Command Syntax
  675. G: Configuration
  676. H: GAF demonstrations
  677.  
  678. @Run Menu
  679.    The Run menu provides different modes for
  680.    running GAF system.  As mentioned, GAF offers
  681.    following five running modes: control, monitor,
  682.    check segment, simulation, and adapt.  Also
  683.    provided is to terminate (quit) the program. 
  684.    Although there are five running modes, they can
  685.    be divided into two categories: the control
  686.    (simulation) portion and the automatic adaptation. 
  687.    While in any of the running modes, use ESC or F10
  688.    to escape back to or bring up the system menu. 
  689.    After bring up the system menu other functions
  690.    provided by pull down menus are available except
  691.    specifically noted.  Upon completion of other
  692.    functions, ESC again will bring you back to
  693.    original running mode.  Use Alt-Q to quit the
  694.    program.
  695.  
  696.  
  697.    Q: Quit the program
  698.        Select this option or type 'Q' to quit the
  699.        program.
  700.  
  701.    R: Control Mode
  702.    M: Monitor Mode
  703.        These two modes are disabled for current
  704.        release.
  705.  
  706.    C: Check Segment
  707.        Use this option to start checking the
  708.        segment specified from the Segment menu. 
  709.        Use Segment menu to select proper segment,
  710.        then start the check mode by selecting this
  711.        option.  Basically, the check mode is the same
  712.        as simulation mode, except that only the
  713.        selected segment is enabled.  For available
  714.        options during checking, please see
  715.        simulation mode's  user interfaces.
  716.  
  717.    Simulation Mode
  718.        Use this option to start the simulation.  Note
  719.        that you must have feedback or emulation
  720.        segment(s) with EMUL_SEGMENT or FEEDBACK
  721.        keyword.  Or use the Option menu to specify
  722.        the feedback segment.
  723.  
  724.        When the mode is selected, the current
  725.        selected segment will be displayed if it
  726.        hasn't already been.  Use any of these keys,
  727.        described as follow, to start the simulation.
  728.  
  729.        Under monitor, check segment, and simulation
  730.        modes, the following interactive user
  731.        interfaces are supported.
  732.            C      : toggles on/off continuous mode
  733.            F      : continue until the end of the
  734.                     plot frame
  735.            1 ~ 9  : run 1 ~ 9 steps
  736.            0      : run 10 steps
  737.            + -    : increase/decrease sample rate
  738.                     (see below)
  739.            enter  : single step
  740.            ESC    : go to system menu bar
  741.            alt-Q  : quit the program
  742.            F1 ~ F8: see function keys
  743.            cursor keys to scroll up, down, right, and
  744.            left of text window
  745.  
  746.        All other keys, while not in continuous mode,
  747.        are treated as "Enter" for single step.
  748.  
  749.        Note that during continuous mode only the
  750.        following keys would halt the continuous
  751.        process: C, ESC, and function keys.  The
  752.        cursor keys will not halt continuous mode,
  753.        instead, GAF performs the scroll and
  754.        continue its simulation.
  755.  
  756.        There is an easy way to change the sampling
  757.        rate in sim-schedule and simulated time mode. 
  758.        That is to use the '+' and '-' keys.  By press
  759.        '+' or '-' key, GAF adjusts the schedule rate
  760.        or cycle time by increasing or decreasing an
  761.        adjustable amount.  Please refer the Option
  762.        menu section for setting the adjust amount. 
  763.        The current sample rate value will be
  764.        displayed in the hint window at the lower
  765.        right corner of the screen.
  766.  
  767.    A: Adapt mode
  768.        When adapt mode is selected, GAF starts
  769.        adaptation of the selected control segment. 
  770.        The followings must be specified before
  771.        starting adaptation: the segment to be
  772.        adapted (optimized), the evaluation segment,
  773.        and the variable for the evaluation result. 
  774.        GAF stops if any of the required is missing. 
  775.        The following interactive interfaces are
  776.        supported in adapt mode.
  777.            C      : continue
  778.            Alt-C  : switch to continuous mode
  779.            Alt-P  : turn on iteration pause
  780.            Alt-A  : turn on preset cycle pause
  781.            Alt-Q  : quit the program
  782.            ESC    : go to system menu bar
  783.            F1 ~ F8: see function keys
  784.            cursor keys to scroll up, down, right, and
  785.            left of text window
  786.            All other keys will pause adapting
  787.            temporary.
  788.  
  789.  
  790.  
  791. 1: Running Modes
  792. 2: Schedule Policy
  793. 3: Emulation
  794. 4: GAF Adaptation
  795. 5: System Menu
  796. 6: GAF Windows
  797. 7: File Menu
  798. 8: Run Menu
  799. 9: Option Menu
  800. A: Segment Menu
  801. B: Display Menu
  802. C: Adapt Menu
  803. D: Method Menu
  804. E: Function Keys
  805. F: Command Syntax
  806. G: Configuration
  807. H: GAF demonstrations
  808.  
  809. @Option menu
  810.    The option pull down menu allows user to change
  811.    the simulation and evaluation environment. 
  812.    Currently only following functions are supported.
  813.  
  814.    R: Real time mode
  815.    T: Sim time mode
  816.    S: Sim schedule mode
  817.    K: Sim clock mode
  818.        These four modes are the basic scheduling
  819.        policy described in the Schedule Policy
  820.        section.  The selected mode will be marked
  821.        with "x" on the right.
  822.  
  823.    C: Sim schedule rate
  824.        Use this option to set desired time interval
  825.        in seconds for either simulated time mode or
  826.        sim-schedule mode.  Current value id
  827.        displayed on its right.
  828.  
  829.    I: Increment value
  830.        As mentioned, an easy way to change the
  831.        simulated schedule rate is to use the '+' and
  832.        '-' keys to increase and decrease the
  833.        schedule rate.  This option allows user to
  834.        set the amount of increasing/decreasing, the
  835.        default value is 0.005 second.
  836.  
  837.  
  838.    E: Emulation segment
  839.        This option is used to specify the feedback
  840.        segment.  Normally, this option is only used
  841.        to show the feedback segment, if proper key
  842.        word (FEEDBACK or EMUL_SEGMENT) is used to
  843.        define the emulation/feedback segment.  When
  844.        selected, a secondary menu contains all
  845.        segment names are displayed for further
  846.        selection.
  847.  
  848.    V: Eval segment
  849.        This option can be used to specify a user
  850.        defined evaluation segment instead using
  851.        EVAL_SEGMENT key word to declare it.  The
  852.        current evaluation segment ID and its name
  853.        are shown, if it is specified.  When selected,
  854.        a secondary menu pops up with names of all
  855.        segments to allow user to select the proper
  856.        segment.
  857.  
  858.    A: Eval result variable
  859.        Use this option to specify the evaluation
  860.        result variable.  When selected, a secondary
  861.        menu pops up with names of all variables of
  862.        the specified evaluation segment to allow
  863.        user to select the proper variable.  GAF uses
  864.        "EVAL_RESULT" as default variable.
  865.  
  866.    B: Eval null band
  867.        This option allows user to specify a null band
  868.        of evaluation.  The null band is used by GAF
  869.        to determine whether it's necessary to check
  870.        there are identical generations or not.
  871.  
  872. 1: Running Modes
  873. 2: Schedule Policy
  874. 3: Emulation
  875. 4: GAF Adaptation
  876. 5: System Menu
  877. 6: GAF Windows
  878. 7: File Menu
  879. 8: Run Menu
  880. 9: Option Menu
  881. A: Segment Menu
  882. B: Display Menu
  883. C: Adapt Menu
  884. D: Method Menu
  885. E: Function Keys
  886. F: Command Syntax
  887. G: Configuration
  888. H: GAF demonstrations
  889.  
  890. @Segment Menu
  891.    The segment menu offers user three major
  892.    functions:
  893.        Select a segment
  894.        Change/modify the segment
  895.        Control/change the display of the segment
  896.  
  897.    S: Segment number 
  898.        Use this option to select a segment.  The
  899.        default selected segment is the first
  900.        segment (the segment 0).  The selected
  901.        segment is displayed in the display window
  902.        and title window.  When selected, a secondary
  903.        menu pops up with names of all segments to
  904.        allow user to select the proper segment.
  905.  
  906.    E: Segment enabled 
  907.        To toggle enable or disable the selected
  908.        segment.  If the segment is enabled it will be
  909.        marked with "x".  Note that when a segment is
  910.        disabled with this option, it will not be
  911.        enabled by the "ENABLE" condition defined in
  912.        the FCL, however, when the option is enabled
  913.        then the "ENABLE" condition determines
  914.        whether the segment is enabled or not.
  915.  
  916.    C: Cycle time
  917.        Change the cycle time for the selected
  918.        segment.  Note that the real cycle time may
  919.        depend on the running mode and time mode
  920.        been selected.  Refer to Schedule Policy
  921.        section for more information.
  922.  
  923.    I: Set input value
  924.    O: Set output value
  925.    L: Set local variable value
  926.        These options allow user to manually set a
  927.        variable's value.  After select one of these
  928.        options, GAF pops up a secondary menu with
  929.        all variable names alone with their variable
  930.        number.  Select a variable, GAF then requests
  931.        for new value.  Enter the new desired value
  932.        will close all menus.  Note that you can use
  933.        F7 to initialize the system, see function key
  934.        for detail.
  935.  
  936.    G: Set output gain
  937.        Use this selection to change the gain of
  938.        selected output.  Again, just like setting
  939.        variable value, GAF asks for output variable
  940.        and then the new gain value.
  941.  
  942.    N: Enable rule
  943.    D: Disable rule
  944.        GAF allows you to enable or disable the
  945.        rule(s) in any of the running modes.  The
  946.        disabled rules are marked with 'x' at the first
  947.        column in text window.  Select one of these
  948.        options, GAF then highlights the first rule at
  949.        the second column in text window.  Use cursor
  950.        keys to move highlighted cursor and then
  951.        press 'Enter' to enable or disable the rule.
  952.  
  953.    A: Enable all rules
  954.        This option gives user an easy way to enable
  955.        all rules.
  956.  
  957.    R: Display result
  958.        After changing the Display window's
  959.        arrangement, i.e. selecting whole display or
  960.        no plot mode, use this option to select the
  961.        desired output you want to display.  Note
  962.        that GAF automatically selects the first
  963.        output for display, if none is selected.
  964.  
  965.    F: Display rule firing
  966.        The above option (Display result) allows user
  967.        to specify the output to display, this option
  968.        allows user to select rule to be displayed
  969.        with its detail inferencing in firing window. 
  970.        When select this option, like disable/enable
  971.        rule, GAF uses the text window for selecting
  972.        menu.  Note that selected rules are marked
  973.        with 'x'.
  974.  
  975.    M: Combined result only
  976.        When this option is selected, GAF deselects
  977.        all rules from displaying its inference (firing
  978.        window).  So only the combined result will be
  979.        displayed.
  980.  
  981.    P: Preset to
  982.        Use this option to preset to a specific state
  983.        defined by "PRESET" statements in segment(s). 
  984.        GAF will prompt for the preset number. 
  985.        Please refer to F8 of function key for
  986.        similar function.
  987.  
  988.  
  989. 1: Running Modes
  990. 2: Schedule Policy
  991. 3: Emulation
  992. 4: GAF Adaptation
  993. 5: System Menu
  994. 6: GAF Windows
  995. 7: File Menu
  996. 8: Run Menu
  997. 9: Option Menu
  998. A: Segment Menu
  999. B: Display Menu
  1000. C: Adapt Menu
  1001. D: Method Menu
  1002. E: Function Keys
  1003. F: Command Syntax
  1004. G: Configuration
  1005. H: GAF demonstrations
  1006.  
  1007. @Display Menu
  1008.    The display menu allows user to arrange and
  1009.    select the screen layout, text font, and color of
  1010.    the screen display.
  1011.  
  1012.    1: Use standard font
  1013.    2: Use small font
  1014.        With these two options, you can switch
  1015.        between normal text display or small font
  1016.        text display.
  1017.  
  1018.    3: Select normal display mode
  1019.        The normal display mode displays the text
  1020.        window on the left portion of the display
  1021.        window and the plot window on the right.  See
  1022.        window split for changing the size of text
  1023.        window.
  1024.  
  1025.    4: Select whole display mode
  1026.        In this mode the text window still occupies
  1027.        the left portion, but the right portion of the
  1028.        display window splits into two parts, the
  1029.        upper half shows the plot window, and the
  1030.        lower half displays the combined result
  1031.        and/or firing window.  See Segment section
  1032.        for more information about selecting rules
  1033.        and outputs.  See window split for changing
  1034.        size of text window.
  1035.  
  1036.    5: Select plot only mode
  1037.        This option allows you to see only the plot. 
  1038.        GAF dedicates the entire display window to
  1039.        plot sub-window except reduces the text
  1040.        window to only first two columns on the left,
  1041.        which shows the status and rule number.
  1042.  
  1043.    6: Select no plot mode
  1044.        This display mode removes plot window from
  1045.        the right portion.  So the combined result
  1046.        and/or firing window are displayed on the
  1047.        right along with text window on the left.
  1048.  
  1049.    7: Select text only mode
  1050.        This mode shows the text window only. 
  1051.        Because graphics, i.e. trend plot, combined
  1052.        result, and firing condition, takes much of
  1053.        CPU time, this mode allows you to speed up
  1054.        the test or control.
  1055.  
  1056.    P: Plot duration
  1057.        The default plot frame period is five seconds
  1058.        (except in auto clock mode).  Use this option
  1059.        to change the frame duration, the value is
  1060.        specified in seconds.
  1061.  
  1062.    C: Color/monochrome
  1063.        Use this option to switch between color and
  1064.        mono mode.
  1065.  
  1066.    W: Window split (Change size of text window)
  1067.        Allows user to change the size of the text
  1068.        window.  The value is specified in percent, i.e.
  1069.        60 means that text window occupies 60% of
  1070.        the display window.  If the value is greater
  1071.        than 90, GAF automatically switches to text
  1072.        only mode.  If the value is less than 10, GAF
  1073.        shuts text window off (except the left most
  1074.        two columns).
  1075.  
  1076.    D: Display local variable
  1077.        The default display mode is to display/plot
  1078.        IN, OUT, and INOUT variables. The LOCAL
  1079.        variables are not displayed.  Use this option
  1080.        to enable LOCAL variables.
  1081.  
  1082.  
  1083. 1: Running Modes
  1084. 2: Schedule Policy
  1085. 3: Emulation
  1086. 4: GAF Adaptation
  1087. 5: System Menu
  1088. 6: GAF Windows
  1089. 7: File Menu
  1090. 8: Run Menu
  1091. 9: Option Menu
  1092. A: Segment Menu
  1093. B: Display Menu
  1094. C: Adapt Menu
  1095. D: Method Menu
  1096. E: Function Keys
  1097. F: Command Syntax
  1098. G: Configuration
  1099. H: GAF demonstrations
  1100.  
  1101. @Adapt Menu
  1102.    The adapt menu is used to change the overall
  1103.    environment for genetic adaptation.  See the
  1104.    Method section for more information about
  1105.    controlling the genetic algorithm.
  1106.  
  1107.    C: Continuous mode
  1108.        Set the adaptation to continuous mode
  1109.        without pause or delay, unless user
  1110.        interferes.  The continuous mode is the
  1111.        default mode after starting adaptation.
  1112.  
  1113.    P: Iteration pause
  1114.    Y: Pause per cycle
  1115.        These two options allow user to halt the
  1116.        adapting process in order to examine it.  The
  1117.        iteration pause is to halt at the end of each
  1118.        iteration.  The cycle pause is to halt at the
  1119.        end of each preset cycle.  Type 'C' to
  1120.        continue, press Alt-C to switch back to
  1121.        continuous mode.  Also see Iteration and
  1122.        Cycle delay.
  1123.  
  1124.    S: Sample number
  1125.        Specifies number of samples should be taken
  1126.        for calculating each preset test's evaluation
  1127.        result.
  1128.  
  1129.    W: Weight increment
  1130.        GAF uses linear proportional weight for
  1131.        random selecting from the gene pool.  This
  1132.        option is to set the linear increment of the
  1133.        weight.  For example the increment is 2, then
  1134.        the weight for the best in the gene pool will
  1135.        be 2 * 100 = 200, and the weight for the worst
  1136.        in the pool will be 2.
  1137.  
  1138.    B: Max best items
  1139.        The number of items kept in the best list
  1140.        (gene pool).  The limit of this value is 1 to 10.
  1141.  
  1142.    I: Max iteration
  1143.        This allows user to specify the maximum
  1144.        number of iterations.  GAF stops after this
  1145.        number of iterations is reached.  If the value
  1146.        is less than or equal to 0, there is no limit.
  1147.  
  1148.    T: Test time
  1149.        As explained the test time is the time for
  1150.        each preset test before evaluate the result. 
  1151.        Use this to set the proper value, in general
  1152.        it should be greater than the rising time for
  1153.        the longest response in all preset tests.
  1154.  
  1155.    D: Iteration delay
  1156.    L: Cycle delay
  1157.        Instead pause for each iteration/preset
  1158.        cycle, users can specify time delay between
  1159.        iterations or preset cycles.  Zero value
  1160.        means continuous.
  1161.  
  1162.    O: Minimum score
  1163.        This value defines the minimum score for a
  1164.        successful preset test cycle.  GAF tries to
  1165.        go through all preset tests, but stops after
  1166.        any preset test failed to score the minimum
  1167.        value.  The default value is 0.6.
  1168.  
  1169.    A: Adapt segment
  1170.        Use this option to change the segment you
  1171.        want to adapt.  The name of the current
  1172.        selected adapt segment is shown on the next
  1173.        line in the menu.  When selected, a secondary
  1174.        menu pops up with names of all segments to
  1175.        allow user to select the proper segment. 
  1176.        Note that the selected adapt segment may
  1177.        not be the same as the selected display
  1178.        segment.
  1179.  
  1180.    U: Use best list
  1181.    G: Use original segment
  1182.        The first option allows user to pick one
  1183.        adaptation out of the best list and then
  1184.        switch to simulation mode for testing or
  1185.        debugging.  The "Use original segment" option
  1186.        allows user to switch back to the original
  1187.        segment, which is loaded from the file.
  1188.  
  1189.    R: Reset best list
  1190.        This option allows user to clear the gene
  1191.        pool, i.e. delete every sample in the gene
  1192.        pool.
  1193.  
  1194.  
  1195. 1: Running Modes
  1196. 2: Schedule Policy
  1197. 3: Emulation
  1198. 4: GAF Adaptation
  1199. 5: System Menu
  1200. 6: GAF Windows
  1201. 7: File Menu
  1202. 8: Run Menu
  1203. 9: Option Menu
  1204. A: Segment Menu
  1205. B: Display Menu
  1206. C: Adapt Menu
  1207. D: Method Menu
  1208. E: Function Keys
  1209. F: Command Syntax
  1210. G: Configuration
  1211. H: GAF demonstrations
  1212.  
  1213. @Method Menu
  1214.    The method menu allows user to control the
  1215.    adaptation algorithms by setting new weight
  1216.    factor.  A method can be disabled by setting zero
  1217.    weight.  For example, if no new rules are allowed
  1218.    then set "adding rules" to zero.  The method menu
  1219.    is divided into two parts, the upper half for
  1220.    changing weights for overall adapting methods. 
  1221.    The lower half is to change the detailed weight
  1222.    for specific adapting method.
  1223.  
  1224.    Z: Zero all weights
  1225.        This option zeros all weights in the upper
  1226.        half adapting methods.
  1227.  
  1228.    C: Change rules
  1229.        The option changes the overall weight for
  1230.        adapting existing rules.
  1231.  
  1232.    I: Adjust input set
  1233.    4: Adjust input set ...
  1234.        The first option (in the upper half) changes
  1235.        the overall weight for adapting input fuzzy
  1236.        membership set. The second option is used to
  1237.        change the detail adapting weights inside
  1238.        input set adaptation.  When the second option
  1239.        is selected, GAF pops up a sub menu under
  1240.        method menu.  The followings are options in
  1241.        the sub menu.
  1242.  
  1243.        M: Mutate
  1244.            Use this option to set the weight of
  1245.            mutation.
  1246.  
  1247.        C: Crossover
  1248.            To set the weight of crossover for
  1249.            adjusting fuzzy set.
  1250.  
  1251.        I: Intensify/dilute
  1252.            Set the weight of intensify and dilute
  1253.            for adjusting fuzzy input set.
  1254.  
  1255.        B: Broaden/restrict
  1256.            Set the weight of broaden and restrict
  1257.            for adjusting fuzzy input set.
  1258.  
  1259.        S: Shift fuzzy set
  1260.            Set the weight of shift fuzzy input set.
  1261.  
  1262.        T: Change truth
  1263.            Set the weight of adjusting the truth of
  1264.            an input set.
  1265.  
  1266.        K: Scale (0 - 1)
  1267.            The scale factor defines how much change
  1268.            is allowed for the above methods, except
  1269.            mutate and crossover.  The amount is the
  1270.            percentage of the member set.  One means
  1271.            100% and zero means none.
  1272.  
  1273.    A: Adding new rule
  1274.        This option sets the weight of adding new
  1275.        rules into the adapting segment.  See Maximum
  1276.        rules to define the limit of rules.
  1277.  
  1278.    E: En/dis-able rule
  1279.        This option sets the weight of enable/disable
  1280.        existing rules in the adapting segment.
  1281.  
  1282.    T: Alter cycle time
  1283.        This option sets the overall weight of
  1284.        altering cycle time of the segment.  The range
  1285.        of cycle time can be specified with max and
  1286.        min cycle time.
  1287.  
  1288.    G: Alter output gain
  1289.        This option sets the weight of adjusting the
  1290.        output gain to form a new generation.
  1291.  
  1292.    1: Max cycle time
  1293.    2: Min cycle time
  1294.        These two values clamp the sample rate, the
  1295.        cycle time of the segment.  GAF will not
  1296.        exceed these limits during adaptation when
  1297.        adapting of cycle time is enabled (the weight
  1298.        for alter cycle time is greater than 0).
  1299.  
  1300.    3: Maximum rules
  1301.        This option allows user to set a limit for
  1302.        number of rules is allowed during adaptation. 
  1303.        If the number is less than 1 there will be no
  1304.        limit.
  1305.  
  1306.  
  1307.  
  1308.  
  1309. 1: Running Modes
  1310. 2: Schedule Policy
  1311. 3: Emulation
  1312. 4: GAF Adaptation
  1313. 5: System Menu
  1314. 6: GAF Windows
  1315. 7: File Menu
  1316. 8: Run Menu
  1317. 9: Option Menu
  1318. A: Segment Menu
  1319. B: Display Menu
  1320. C: Adapt Menu
  1321. D: Method Menu
  1322. E: Function Keys
  1323. F: Command Syntax
  1324. G: Configuration
  1325. H: GAF demonstrations
  1326.  
  1327. @Function Keys
  1328.  
  1329.    F1: Get help
  1330.        GAF provides context sensitive help.  Press
  1331.        F1 to call up the on-line help.  Inside help you
  1332.        can jump to other topic by selecting listed
  1333.        topic.
  1334.  
  1335.    F2: Display the system info
  1336.        Press F2 to see the system limits.  The
  1337.        system info shows the version of GAF, system
  1338.        wide limits, and current free memory status.
  1339.        IO length (in bits)
  1340.            the supported analog IO bits
  1341.        Number of sets per segment
  1342.            maximum number of fuzzy input sets in a
  1343.            segment
  1344.        Number of rules per segment
  1345.            maximum number of rules in a segment
  1346.        Total variables per segment
  1347.            maximum number of variables (IN, OUT, and
  1348.            LOCAL) in a segment
  1349.        Number of segments
  1350.            maximum number of segments in the
  1351.            system
  1352.        Number of fuzzy symbols
  1353.            maximum number of fuzzy symbols in a
  1354.            segment
  1355.        Name length (IO & symbol)
  1356.            number of characters for names (variable
  1357.            name or symbol name)
  1358.        Number of best genes
  1359.            the maximum limit of the gene pool (best
  1360.            list)
  1361.  
  1362.    F3: Next segment
  1363.        Press F3 to switch the display segment, i.e.,
  1364.        cycle through all segments.
  1365.  
  1366.    F4: View segment information
  1367.        Press F4 to see the variable definition,
  1368.        initialization and run functions, and other
  1369.        information for the selected display segment.
  1370.  
  1371.    F5: View symbol definition
  1372.        Press F5 to see the fuzzy set symbols'
  1373.        definition for this segment.
  1374.  
  1375.    F6: View preset definition
  1376.        Press F6 to see the preset definition for
  1377.        this segment.
  1378.  
  1379.    F7: Initialize the system
  1380.        The F7 function key allows you to initialize
  1381.        the system.  This is defined in each
  1382.        segment's INITIALIZATION declaration.  GAF
  1383.        goes through all segments executes the
  1384.        initialization defined in each segment and
  1385.        initialize the segment scheduler.
  1386.  
  1387.    F8: Preset the system
  1388.        The F8 function key allows users cycle
  1389.        through all presets defined for all segments
  1390.        during simulation.
  1391.  
  1392.    F9: Zero the system
  1393.        Press F9 to zero all the inputs and outputs
  1394.        for all the segments during simulation.
  1395.  
  1396.  
  1397. 1: Running Modes
  1398. 2: Schedule Policy
  1399. 3: Emulation
  1400. 4: GAF Adaptation
  1401. 5: System Menu
  1402. 6: GAF Windows
  1403. 7: File Menu
  1404. 8: Run Menu
  1405. 9: Option Menu
  1406. A: Segment Menu
  1407. B: Display Menu
  1408. C: Adapt Menu
  1409. D: Method Menu
  1410. E: Function Keys
  1411. F: Command Syntax
  1412. G: Configuration
  1413. H: GAF demonstrations
  1414.  
  1415. @Command Syntax
  1416.    The command syntax for GA FuzzyWare is:
  1417.        GAF [switches] [segment files]
  1418.  
  1419.    Available command switches are:
  1420.        /DIR=dir_path  to specify the default
  1421.                       directory for segment files
  1422.        /CFG=file_name to specify the configuration
  1423.                       file
  1424.        /H or /?       help
  1425.  
  1426.    Examples:
  1427.      GAF /dir=c:\gaf a1.seg a2.seg a3.seg
  1428.            specifies all a1 ~ a3 files are under
  1429.            c:\gaf directory.
  1430.  
  1431.      GAF /dir=c:\gaf app.s0 /dir=c:\app app.s1 app.s2
  1432.            specifies app.s0 under c:\gaf, both
  1433.            app.s1 and app.s2 are under c:\app
  1434.            directory.
  1435.  
  1436.  
  1437. 1: Running Modes
  1438. 2: Schedule Policy
  1439. 3: Emulation
  1440. 4: GAF Adaptation
  1441. 5: System Menu
  1442. 6: GAF Windows
  1443. 7: File Menu
  1444. 8: Run Menu
  1445. 9: Option Menu
  1446. A: Segment Menu
  1447. B: Display Menu
  1448. C: Adapt Menu
  1449. D: Method Menu
  1450. E: Function Keys
  1451. F: Command Syntax
  1452. G: Configuration
  1453. H: GAF demonstrations
  1454.  
  1455. @Configuration
  1456.    When starts up, GAF searches configuration file
  1457.    in following order
  1458.        specified by /CFG command switch
  1459.        "GAF.CFG" under current directory
  1460.        "GAF.CFG" at where GAF.EXE resides
  1461.    The configuration file is a text file for setting
  1462.    up the GAF environment.  The format of the
  1463.    configuration file is a series of "attribute =
  1464.    attribute_value;".  The attribute can be in any
  1465.    order and can be defined multiple times with the
  1466.    latter value overrides the previous value.  The
  1467.    configuration attribute can also be included
  1468.    inside FCL module file by enclosing it within
  1469.    "CONFIGURATION" and "END_CONFIGURATION;"
  1470.    keywords.  Because FCL modules are processed
  1471.    after GAF.CFG, so FCL's configuration will
  1472.    override GAF.CFG.  Please refer to FCL.DOC for
  1473.    details.
  1474.  
  1475. 1: Running Modes
  1476. 2: Schedule Policy
  1477. 3: Emulation
  1478. 4: GAF Adaptation
  1479. 5: System Menu
  1480. 6: GAF Windows
  1481. 7: File Menu
  1482. 8: Run Menu
  1483. 9: Option Menu
  1484. A: Segment Menu
  1485. B: Display Menu
  1486. C: Adapt Menu
  1487. D: Method Menu
  1488. E: Function Keys
  1489. F: Command Syntax
  1490. G: Configuration
  1491. H: GAF demonstrations
  1492.  
  1493. @GAF demonstrations
  1494. There are two demos included in the distribution files:
  1495.     - robot arm simulation and
  1496.     - water tank heater simulation.
  1497.  
  1498. Robot arm simulation:
  1499.   Enter "demo" at DOS prompt to start robot arm
  1500.   simulation.  The robotarm example includes feedback
  1501.   data (or rules) and evaluation.  After demo started,
  1502.   use 'R'un-'S'im to start simulation, use 'R'un-
  1503.   'A'dapt to adapt the cotrol rules.  Please refer to
  1504.   demo.doc for more details.
  1505.  
  1506. Water tank heater simulation
  1507.   Enter "demotank" at DOS prompt to start water tank
  1508.   heater simulation.  Please refer tutorial.doc for
  1509.   details.
  1510.  
  1511. 1: Running Modes
  1512. 2: Schedule Policy
  1513. 3: Emulation
  1514. 4: GAF Adaptation
  1515. 5: System Menu
  1516. 6: GAF Windows
  1517. 7: File Menu
  1518. 8: Run Menu
  1519. 9: Option Menu
  1520. A: Segment Menu
  1521. B: Display Menu
  1522. C: Adapt Menu
  1523. D: Method Menu
  1524. E: Function Keys
  1525. F: Command Syntax
  1526. G: Configuration
  1527. H: GAF demonstrations
  1528.